package com.allen.flink.dbus.config;

import java.io.Serializable;

/**
 * 在生产上一般通过配置中心来管理
 */
public class GlobalConfig implements Serializable {
    
    //驱动
    public static final String DRIVER_CLASS = "com.mysql.jdbc.Driver";
    
    //url
    public static final String DB_URL = "jdbc:mysql://127.0.0.1:3306/canal?useUnicode=true&characterEncoding=utf8";
    
    //用户名
    public static final String USER_MAME = "root";
    
    //密码
    public static final String PASSWORD = "allen";
    
    //分批数量
    public static final int BATCH_SIZE = 2;
    
    //HBase zookeeper地址
    public static final String HBASE_ZOOKEEPER_QUORUM = "master,slave1,slave2";
    
    //端口
    public static final String HBASE_ZOOKEEPER_PROPERTY_CLIENT_PORT = "2181";
    
    //ZNODE路径
    public static final String ZOOKEEPER_ZNODE_PARENT = "/hbase";
    
   
    
}
